﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Perovich.GameObjects.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class ComponentDependencyAttribute : Attribute
    {
        Type[] dependencies;

        public ComponentDependencyAttribute(params Type[] dependencies)
        {
            this.dependencies = dependencies;
        }

        public Type[] Dependencies
        {
            get
            {
                return dependencies;
            }
        }
    }
}
